package com.yiyaOvo.cloudDisk.pojo;

/**
 * User: yiyaOvo
 * Date: 2021/5/23
 * Time: 14:30
 * role: 文件实体类
 */
public class FileItem {

    private Long id;
    private String fileName;
    private String filePath;
    private Long length;

    public FileItem() {}

    public FileItem(Long id, String fileName, String filePath, Long length) {
        this.id = id;
        this.fileName = fileName;
        this.filePath = filePath;
        this.length = length;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public Long getLength() {
        return length;
    }

    public void setLength(Long length) {
        this.length = length;
    }

    @Override
    public String toString() {
        return "FileItem{" +
                       "id=" + id +
                       ", fileName='" + fileName + '\'' +
                       ", filePath='" + filePath + '\'' +
                       ", length=" + length +
                       '}';
    }
}
